#ifndef		Sound__SoundException_h
#define		Sound__SoundException_h

#include	<fmod.h>
#include	<string>
#include	<exception>

class SoundException : public std::exception
{
public:
	SoundException(const std::string & message);
	SoundException(FMOD_RESULT code);
	FMOD_RESULT code() const;
	virtual const char * what() const;
private:
	FMOD_RESULT m_code;
};

#endif	//	Sound__SoundException_h

